package cn.scxy.bookcity.service.impl;

import cn.scxy.bookcity.mapper.CarouselChartMapper;
import cn.scxy.bookcity.pojo.vo.CarouselChartListVO;
import cn.scxy.bookcity.service.ICarouselChartService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Slf4j
@Service
public class CarouselChartService implements ICarouselChartService {
    @Autowired
    private CarouselChartMapper mapper;
    @Override
    public List<CarouselChartListVO> list() {
         log.debug("开始处理查询轮播图",mapper.selectCarouselChartList());
         List<CarouselChartListVO> list=mapper.selectCarouselChartList();
        return list;
    }
}
